#pragma once
#include <qthread.h>
#include <qobject.h>
#include "classes\Automat.hpp"
#include "classes\carvis.h"

class painThread : public QThread
{
	Q_OBJECT
	Automat *test;
	Carvis *CarRun;
	
public:
	painThread(void);
	painThread(Automat *test, Carvis *CarRun);
	~painThread(void);
private:
	void run();
signals:
	void obliczono_ruch(QPoint currentPosition, int CarId);

};

